package com.foreverwin.mes.meapi.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Syngna
 * @since 2020-01-14
 */
@TableName("USER_CERT")
public class UserCert extends Model<UserCert> {

    private static final long serialVersionUID = 1L;

   @TableField("HANDLE")
   private String handle;
   @TableField("USER_BO")
   private String userBo;
   @TableField("CERTIFICATION_BO")
   private String certificationBo;
   @TableField("EXPIRATION_DATE")
   private Date expirationDate;
   @TableField("CERTIFICATION_AUTHORITY_BO")
   private String certificationAuthorityBo;
   @TableField("CERTIFICATION_DATE")
   private Date certificationDate;
   @TableField("WARNING_ALARM_SENT")
   private String warningAlarmSent;
   @TableField("EXPIRATION_ALARM_SENT")
   private String expirationAlarmSent;
   @TableField("STATUS_BO")
   private String statusBo;
   @TableField("EXTENSION_EXPIRATION_DATE")
   private Date extensionExpirationDate;
   @TableField("COMMENTS")
   private String comments;
   @TableField("EXTENSIONS")
   private String extensions;
   @TableField("EXTENSION_ALARM_SENT")
   private String extensionAlarmSent;
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   @TableField("MODIFIED_DATE_TIME")
   private Date modifiedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getUserBo() {
      return userBo;
   }

   public void setUserBo(String userBo) {
      this.userBo = userBo;
   }

   public String getCertificationBo() {
      return certificationBo;
   }

   public void setCertificationBo(String certificationBo) {
      this.certificationBo = certificationBo;
   }

   public Date getExpirationDate() {
      return expirationDate;
   }

   public void setExpirationDate(Date expirationDate) {
      this.expirationDate = expirationDate;
   }

   public String getCertificationAuthorityBo() {
      return certificationAuthorityBo;
   }

   public void setCertificationAuthorityBo(String certificationAuthorityBo) {
      this.certificationAuthorityBo = certificationAuthorityBo;
   }

   public Date getCertificationDate() {
      return certificationDate;
   }

   public void setCertificationDate(Date certificationDate) {
      this.certificationDate = certificationDate;
   }

   public String getWarningAlarmSent() {
      return warningAlarmSent;
   }

   public void setWarningAlarmSent(String warningAlarmSent) {
      this.warningAlarmSent = warningAlarmSent;
   }

   public String getExpirationAlarmSent() {
      return expirationAlarmSent;
   }

   public void setExpirationAlarmSent(String expirationAlarmSent) {
      this.expirationAlarmSent = expirationAlarmSent;
   }

   public String getStatusBo() {
      return statusBo;
   }

   public void setStatusBo(String statusBo) {
      this.statusBo = statusBo;
   }

   public Date getExtensionExpirationDate() {
      return extensionExpirationDate;
   }

   public void setExtensionExpirationDate(Date extensionExpirationDate) {
      this.extensionExpirationDate = extensionExpirationDate;
   }

   public String getComments() {
      return comments;
   }

   public void setComments(String comments) {
      this.comments = comments;
   }

   public String getExtensions() {
      return extensions;
   }

   public void setExtensions(String extensions) {
      this.extensions = extensions;
   }

   public String getExtensionAlarmSent() {
      return extensionAlarmSent;
   }

   public void setExtensionAlarmSent(String extensionAlarmSent) {
      this.extensionAlarmSent = extensionAlarmSent;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public Date getModifiedDateTime() {
      return modifiedDateTime;
   }

   public void setModifiedDateTime(Date modifiedDateTime) {
      this.modifiedDateTime = modifiedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String USER_BO = "USER_BO";

   public static final String CERTIFICATION_BO = "CERTIFICATION_BO";

   public static final String EXPIRATION_DATE = "EXPIRATION_DATE";

   public static final String CERTIFICATION_AUTHORITY_BO = "CERTIFICATION_AUTHORITY_BO";

   public static final String CERTIFICATION_DATE = "CERTIFICATION_DATE";

   public static final String WARNING_ALARM_SENT = "WARNING_ALARM_SENT";

   public static final String EXPIRATION_ALARM_SENT = "EXPIRATION_ALARM_SENT";

   public static final String STATUS_BO = "STATUS_BO";

   public static final String EXTENSION_EXPIRATION_DATE = "EXTENSION_EXPIRATION_DATE";

   public static final String COMMENTS = "COMMENTS";

   public static final String EXTENSIONS = "EXTENSIONS";

   public static final String EXTENSION_ALARM_SENT = "EXTENSION_ALARM_SENT";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String MODIFIED_DATE_TIME = "MODIFIED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "UserCert{" +
         "handle = " + handle +
         ", userBo = " + userBo +
         ", certificationBo = " + certificationBo +
         ", expirationDate = " + expirationDate +
         ", certificationAuthorityBo = " + certificationAuthorityBo +
         ", certificationDate = " + certificationDate +
         ", warningAlarmSent = " + warningAlarmSent +
         ", expirationAlarmSent = " + expirationAlarmSent +
         ", statusBo = " + statusBo +
         ", extensionExpirationDate = " + extensionExpirationDate +
         ", comments = " + comments +
         ", extensions = " + extensions +
         ", extensionAlarmSent = " + extensionAlarmSent +
         ", createdDateTime = " + createdDateTime +
         ", modifiedDateTime = " + modifiedDateTime +
         "}";
   }
}